Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language
function:
1)Extract all lexems from C Language source code
2)Examine the syntax errors of the program and provide the line number of error line and note
3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file. Platform: |
Size: 192512 |
Author:张永胜 |
Hits:
Description: 是一个词法分析器的实验报告,里面具体说明了整个程序的架构和出现问题如何解决-Lexical analyzer is a lab report, which specifically describes the architecture of the whole process and how to solve problems Platform: |
Size: 253952 |
Author:黄春晖 |
Hits:
Description: 编译原理实验课程中得词法分析器的C++源码,可直接运行-Course C compiler principle experiment was lexical analyzer++ source code, can be directly run Platform: |
Size: 2048 |
Author:xuzhe |
Hits:
Description: 使用C#编写的一个简易的C语言词法分析器,对汇编语言的一个活学活用的例子,供大家参考学习。-英语中文德语检测语言
中文(简体)英语日语
翻译文字或网页
使用C#编写的一个简易的C语言词法分析器,对汇编语言的一个活学活用的例子,供大家参考学习。
请键入文字或网站地址,或者上传文档。
取消
Shǐyòng C#biānxiě de yīgè jiǎnyì de C yǔyán cífǎ fēnxī qì, duì huìbiān yǔyán de yīgè huó xué huóyòng de lìzi, gōng dàjiā cānkǎo xuéxí.Use C# to write a simple C language lexical analyzer, an example of the assembly language of a live learning, for your reference study. Platform: |
Size: 115712 |
Author:wangbin |
Hits:
Description: 编译原理课程中词法分析器的实现,经测试在VC6.0下可成功编译运行-Compiler theory lexical analyzer to achieve course, has been tested successfully compiled to run under VC6.0 Platform: |
Size: 251904 |
Author:梁宏燏 |
Hits:
Description: 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether the input word sequence recognition grammar of the sentence. Platform: |
Size: 209920 |
Author:xiaowang |
Hits:
Description: 编译原理实验报告
实验一:词法分析器
实验目的:
实现TINY+语言的词法分析程序(扫描程序)
实验内容:
1、词法分析器输入输出
扫描程序的输入是源代码文件,输出是token串。
2、需要遵循“最长串匹配原则”,如匹配字符串‘:=’ 为赋值操作符,而不是冒号和等号两个操作符。
Token 以键值对 (Kind, Value)的形式表示。下面的符号表示不同的token类别(即Kind的取值)
KEY 表示保留字
SYM 表示特殊符号
ID 表示标识符
NUM 表示数值常数
STR 表示字符串常数
3、检测词法错误:给出有意义的错误信息和错误发生的行号。
-Compile a report principle experiment to experiment: lexical analyzer experimental purposes: to achieve lexical analysis program TINY+ language (scanner) Experiment: a lexical analyzer Input Output Scan program source code file, the output is token string. 2, you need to follow the " longest string matching principle" , such as matching the string ' : =' is the assignment operator instead of a colon and equals two operators. Token expressed as key-value pairs (Kind, Value) format. The following token symbols represent different categories (ie Kind values) KEY expressed reservations expressed special symbol SYM word identifier ID NUM represents a numerical value represents the string constant constant STR 3, the detection lexical error: give meaningful error messages and line number the error occurred. Platform: |
Size: 2717696 |
Author:alfred artorius |
Hits:
Description: 词法分析器,使用C语言编写,编译原理中进行词法分析-Lexical analyzer, using the C language, compiler theory lexical analysis performed Platform: |
Size: 223232 |
Author:susan |
Hits:
Description: JAVA编写的《编译原理》C语言词法分析器-JAVA prepared by the " compiler theory" C language lexical analyzer Platform: |
Size: 6065152 |
Author:xiahailong |
Hits:
Description: lexical analyzer program
first phase of compiler construction
download and use for fr-lexical analyzer program
first phase of compiler construction
download and use for free Platform: |
Size: 69632 |
Author:emirdeed |
Hits: